package com.mybrothers.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mybrothers.dao.UserInfoMapper;
import com.mybrothers.po.UserInfo;
import com.mybrothers.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {

	@Autowired
	private UserInfoMapper userInfoMapper;
	
	public UserInfo getUserById(int id) {
		return userInfoMapper.selcetUserInfoByPrimaryId(id);
	}

	public List<UserInfo> getUsers() {
		// TODO Auto-generated method stub
		return null;
	}

	public int insert(UserInfo userInfo) {
		// TODO Auto-generated method stub
		return 0;
	}

}
